package com.accp.vehiclecare.action.syhaction;

import com.accp.vehiclecare.biz.syhbiz.ArmemberBiz;
import com.accp.vehiclecare.vo.syhvo.ArmemberVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("api/armember")
public class SYHArmemberAction {

    @Autowired
    private ArmemberBiz biz;

    @GetMapping
    private List<ArmemberVo> queryAll(){
        return biz.queryAll();
    }
}
